import request from '@/utils/request'
const pre = '/v1'
// 登录
export function login(data) {
  return request({
    url: `${pre}/sys-login/login`,
    method: 'post',
    data
  })
}
// 获取验证码
export function captcha(data) {
  return request({
    url: `${pre}/sys-login/captcha`,
    method: 'post',
    responseType: 'arraybuffer',
    headers: {
      'allResponse': true
    },
    data
  })
}
// 设置推荐
export function houseTop(data) {
  return request({
    url: `${pre}/hou-sell/house/houseTop`,
    method: 'post',
    data
  })
}
// 找室友删除
export function deleteUcUserLookChumDetail(data) {
  return request({
    url: `${pre}/uc-user/user/deleteUcUserLookChumDetail`,
    method: 'post',
    data
  })
}
// 帖子删除
export function deleteBbsPost(data) {
  return request({
    url: `${pre}/cms-information/deleteBbsPost`,
    method: 'post',
    data
  })
}
// 金币套餐列表
export function goldList(data) {
  return request({
    url: `${pre}/uc-set/goldList`,
    method: 'post',
    data
  })
}
// 金币套餐修改
export function updateGold(data) {
  return request({
    url: `${pre}/uc-set/updateGold`,
    method: 'post',
    data
  })
}
// 套餐列表（会员、畅聊）
export function setlist(data) {
  return request({
    url: `${pre}/uc-set/list`,
    method: 'post',
    data
  })
}
// 套餐修改（会员、畅聊）
export function updatelist(data) {
  return request({
    url: `${pre}/uc-set/update`,
    method: 'post',
    data
  })
}
// 增值服务列表
export function incrementList(data) {
  return request({
    url: `${pre}/uc-set/incrementList`,
    method: 'post',
    data
  })
}
// 增值服务修改
export function updateIncrement(data) {
  return request({
    url: `${pre}/uc-set/updateIncrement`,
    method: 'post',
    data
  })
}
// 设置推荐
export function openList(data) {
  return request({
    url: `${pre}/hou-area-price/openList`,
    method: 'post',
    data
  })
}
// 价格筛选类型
export function screenList(data) {
  return request({
    url: `${pre}/cms-screen/list`,
    method: 'post',
    data
  })
}
// 更多筛选类型
export function listMore(data) {
  return request({
    url: `${pre}/cms-screen/listMore`,
    method: 'post',
    data
  })
}
// 价格筛选添加
export function screenadd(data) {
  return request({
    url: `${pre}/cms-screen/add`,
    method: 'post',
    data
  })
}
// 更多筛选添加
export function addMore(data) {
  return request({
    url: `${pre}/cms-screen/addMore`,
    method: 'post',
    data
  })
}
// 价格筛选编辑
export function screenupdate(data) {
  return request({
    url: `${pre}/cms-screen/update`,
    method: 'post',
    data
  })
}
// 更多筛选编辑
export function updateMore(data) {
  return request({
    url: `${pre}/cms-screen/updateMore`,
    method: 'post',
    data
  })
}
// 价格筛选删除
export function screendelete(data) {
  return request({
    url: `${pre}/cms-screen/delete`,
    method: 'post',
    data
  })
}
// 价格筛选删除
export function deleteMore(data) {
  return request({
    url: `${pre}/cms-screen/deleteMore`,
    method: 'post',
    data
  })
}
// 等级设置
export function agentUpdateTag(data) {
  return request({
    url: `${pre}/uc-user/agent/agentUpdateTag`,
    method: 'post',
    data
  })
}
// 设计师等级设置
export function updateDesigner(data) {
  return request({
    url: `${pre}/uc-decorate/updateDesigner`,
    method: 'post',
    data
  })
}
// 楼盘动态
export function getHouResidentialDynamic(data) {
  return request({
    url: `${pre}/hou-properties/dynamic/list`,
    method: 'post',
    data
  })
}
// 配置列表
export function configList(data) {
  return request({
    url: `${pre}/cms-type/config/list`,
    method: 'post',
    data
  })
}
// 通知列表
export function noticeList(data) {
  return request({
    url: `${pre}/cms-notice/list`,
    method: 'post',
    data
  })
}
// 通知添加
export function noticeAdd(data) {
  return request({
    url: `${pre}/cms-notice/add`,
    method: 'post',
    data
  })
}
// 通知修改
export function noticeUpdate(data) {
  return request({
    url: `${pre}/cms-notice/update`,
    method: 'post',
    data
  })
}
// 通知详情
export function noticeDetail(data) {
  return request({
    url: `${pre}/cms-notice/detail/`+data,
    method: 'post',
  })
}
// 配置修改
export function configUpdate(data) {
  return request({
    url: `${pre}/cms-type/config/update`,
    method: 'post',
    data
  })
}
// 楼盘动态详情
export function getHouupdateStatus(data) {
  return request({
    url: `${pre}/hou-properties/dynamic/updateStatus`,
    method: 'post',
    data
  })
}
// 免费设计
export function getFreeDesign(data) {
  return request({
    url: `${pre}/uc-user/getFreeDesign`,
    method: 'post',
    data
  })
}

// 家装顾问等级设置
export function updateHomeDecoration(data) {
  return request({
    url: `${pre}/uc-decorate/updateHomeDecoration`,
    method: 'post',
    data
  })
}

// 家居顾问等级设置
export function updateHomeHold(data) {
  return request({
    url: `${pre}/uc-decorate/updateHomeHold`,
    method: 'post',
    data
  })
}
// 设计师详情
export function detailDesigner(data) {
  return request({
    url: `${pre}/uc-decorate/detailDesigner/`+data,
    method: 'post'
  })
}
// 售房管理审核通过
export function updateStatus(data) {
  return request({
    url: `${pre}/hou-sell/updateStatus`,
    method: 'post',
    data
  })
}
// 找室友列表
export function getLookChumList(data) {
  return request({
    url: `${pre}/uc-user/user/getLookChumList`,
    method: 'post',
    data
  })
}
// 找室友详情
export function getUcUserLookChumDetail(data) {
  return request({
    url: `${pre}/uc-user/user/getUcUserLookChumDetail`,
    method: 'post',
    data
  })
}
// 租房管理审核通过
export function lupdateStatus(data) {
  return request({
    url: `${pre}/hou-lease/updateStatus`,
    method: 'post',
    data
  })
}
// 登出
export function logout() {
  return request({
    url: `${pre}/sys-login/logout`,
    method: 'post'
  })
}
// 系统日志
export function syslog(data) {
  return request({
    url: `${pre}/sys-log/list`,
    method: 'post',
	data
  })
}

// 举报列表
export function report(data) {
  return request({
    url: `${pre}/cms-banner/report/list`,
    method: 'post',
	data
  })
}
// 预约列表
export function appointment(data) {
  return request({
    url: `${pre}/cms-banner/appointment/list`,
    method: 'post',
	data
  })
}
// 反馈列表
export function feedback(data) {
  return request({
    url: `${pre}/cms-banner/feedback/list`,
    method: 'post',
	data
  })
}
// 获取七牛云TOKEN
export function craeteToken(data) {
  return request({
    url: `http://119.3.69.218/api/v1/api/cms-resource/craeteToken`,
    method: 'post',
    data
  })
}
// 建材公司新增
export function addMaterialsEnterprise(data) {
  return request({
    url: `${pre}/uc-decorate/addMaterialsEnterprise`,
    method: 'post',
	data
  })
}
// 建材公司新增
export function updateMaterialsEnterprise(data) {
  return request({
    url: `${pre}/uc-decorate/updateMaterialsEnterprise`,
    method: 'post',
	data
  })
}
// 建材门店新增
export function addMaterialsEnterpriseStore(data) {
  return request({
    url: `${pre}/uc-decorate/addMaterialsEnterpriseStore`,
    method: 'post',
	data
  })
}
// 家居顾问列表
export function listHomeHold(data) {
  return request({
    url: `${pre}/uc-decorate/listHomeHold`,
    method: 'post',
	data
  })
}
// 家居顾问详情
export function detailHomeHold(data) {
  return request({
    url: `${pre}/uc-decorate/detailHomeHold/`+data,
    method: 'post'
  })
}
// 家装顾问列表
export function listHomeDecoration(data) {
  return request({
    url: `${pre}/uc-decorate/listHomeDecoration`,
    method: 'post',
	data
  })
}
// 家装顾问列表
export function detailHomeDecoration(data) {
  return request({
    url: `${pre}/uc-decorate/detailHomeDecoration/`+data,
    method: 'post'
  })
}
// 设计师列表
export function listDesigner(data) {
  return request({
    url: `${pre}/uc-decorate/listDesigner`,
    method: 'post',
	data
  })
}
// 建材门店修改
export function updateMaterialsStore(data) {
  return request({
    url: `${pre}/uc-decorate/updateMaterialsStore`,
    method: 'post',
	data
  })
}
// 建材门店列表
export function listMaterialsStore(data) {
  return request({
    url: `${pre}/uc-decorate/listMaterialsStore`,
    method: 'post',
	data
  })
}
// 装修公司列表
export function zlist(data) {
  return request({
    url: `${pre}/uc-decorate/list`,
    method: 'post',
	data
  })
}
// 装修公司删除
export function zdelete(data) {
  return request({
    url: `${pre}/uc-decorate/delete`,
    method: 'post',
	data
  })
}
// 装修公司删除
export function deleteMaterialsEnterpriseStore(data) {
  return request({
    url: `${pre}/uc-decorate/deleteMaterialsEnterpriseStore`,
    method: 'post',
	data
  })
}
// 建材公司删除
export function deleteMaterialsEnterprise(data) {
  return request({
    url: `${pre}/uc-decorate/deleteMaterialsEnterprise`,
    method: 'post',
	data
  })
}

// 装修公司新增
export function zadd(data) {
  return request({
    url: `${pre}/uc-decorate/add`,
    method: 'post',
	data
  })
}
// 装修公司修改
export function zupdate(data) {
  return request({
    url: `${pre}/uc-decorate/update`,
    method: 'post',
	data
  })
}

// 地区管理-列表
export function areaList(data) {
  return request({
    url: `${pre}/cms-region/list`,
    method: 'post',
    data
  })
}
export function areaAdd(data) {
  return request({
    url: `${pre}/cms-region/add`,
    method: 'post',
    data
  })
}
export function areaDelete(data) {
  return request({
    url: `${pre}/cms-region/delete`,
    method: 'post',
    data
  })
}
export function areaUpdate(data) {
  return request({
    url: `${pre}/cms-region/update`,
    method: 'post',
    data
  })
}

// 短信模板-列表
export function templateList(data) {
  return request({
    url: `${pre}/cms-sms-template/list`,
    method: 'post',
    data
  })
}
// 添加
export function templateAdd(data) {
  return request({
    url: `${pre}/cms-sms-template/add`,
    method: 'post',
    data
  })
}
// 详情
export function templateDetail(data) {
  return request({
    url: `${pre}/cms-sms-template/detail`,
    method: 'post',
    data
  })
}
// 删除
export function templateDelete(data) {
  return request({
    url: `${pre}/cms-sms-template/delete`,
    method: 'post',
    data
  })
}
// 编辑
export function templateUpdate(data) {
  return request({
    url: `${pre}/cms-sms-template/update`,
    method: 'post',
    data
  })
}

// 字典管理-归属类型列表
export function typeList(data) {
  return request({
    url: `${pre}/cms-type/affiliationTypeList`,
    method: 'post',
    data
  })
}
// 字典管理-所有类型列表
export function typeListAll(data) {
  return request({
    url: `${pre}/cms-type/typeListAll`,
    method: 'post',
    data
  })
}
// 归属类型添加
export function typeAdd(data) {
  return request({
    url: `${pre}/cms-type/affiliationTypeAdd`,
    method: 'post',
    data
  })
}
// 归属类型编辑
export function typeUpdate(data) {
  return request({
    url: `${pre}/cms-type/affiliationTypeUpdate`,
    method: 'post',
    data
  })
}
// 归属类型删除
export function typeDelete(data) {
  return request({
    url: `${pre}/cms-type/affiliationTypeDelete`,
    method: 'post',
    data
  })
}
// 字典管理-子类型列表
export function typeListSon(data) {
  return request({
    url: `${pre}/cms-type/typeList`,
    method: 'post',
    data
  })
}
// 子类型添加
export function typeAddSon(data) {
  return request({
    url: `${pre}/cms-type/typeAdd`,
    method: 'post',
    data
  })
}
// 子类型编辑
export function typeUpdateSon(data) {
  return request({
    url: `${pre}/cms-type/typeUpdate`,
    method: 'post',
    data
  })
}
// 子类型删除
export function typeDeleteSon(data) {
  return request({
    url: `${pre}/cms-type/typeDelete`,
    method: 'post',
    data
  })
}
// 系统用户-用户列表
export function userList(data) {
  return request({
    url: `${pre}/sys-user/list`,
    method: 'post',
    data
  })
}
// 用户详情
export function userDetail(data) {
  return request({
    url: `${pre}/sys-user/detail`,
    method: 'post',
    data
  })
}
// 新增用户
export function userAdd(data) {
  return request({
    url: `${pre}/sys-user/add`,
    method: 'post',
    data
  })
}
// 编辑用户
export function userUpdate(data) {
  return request({
    url: `${pre}/sys-user/update`,
    method: 'post',
    data
  })
}
// 删除用户
export function userDelete(data) {
  return request({
    url: `${pre}/sys-user/delete`,
    method: 'post',
    data
  })
}
// 获取当前用户信息
export function getUserInfo(data) {
  return request({
    url: `${pre}/sys-user/currentUser`,
    method: 'post',
    data
  })
}
// 广告管理-列表
export function adList(data) {
  return request({
    url: `${pre}/cms-banner/list`,
    method: 'post',
    data
  })
}
// 添加
export function adAdd(data) {
  return request({
    url: `${pre}/cms-banner/add`,
    method: 'post',
    data
  })
}

// 删除
export function adDelete(data) {
  return request({
    url: `${pre}/cms-banner/delete`,
    method: 'post',
    data
  })
}
// 编辑
export function adUpdate(data) {
  return request({
    url: `${pre}/cms-banner/update`,
    method: 'post',
    data
  })
}

// 门店管理-列表
export function shopList(data) {
  return request({
    url: `${pre}/uc-store/list`,
    method: 'post',
    data
  })
}
// 添加
export function shopAdd(data) {
  return request({
    url: `${pre}/uc-store/add`,
    method: 'post',
    data
  })
}
// 详情
export function shopDetail(data) {
  return request({
    url: `${pre}/uc-store/detail`,
    method: 'post',
    data
  })
}
// 删除
export function shopDelete(data) {
  return request({
    url: `${pre}/uc-store/delete`,
    method: 'post',
    data
  })
}
// 编辑
export function shopUpdate(data) {
  return request({
    url: `${pre}/uc-store/update`,
    method: 'post',
    data
  })
}

// 城市管理（房价）-列表
export function houareaList(data) {
  return request({
    url: `${pre}/hou-area-price/list`,
    method: 'post',
    data
  })
}
// 添加
export function houareaAdd(data) {
  return request({
    url: `${pre}/hou-area-price/add`,
    method: 'post',
    data
  })
}
// 资讯列表
export function information(data) {
  return request({
    url: `${pre}/cms-information/list`,
    method: 'post',
    data
  })
}

// 论坛列表
export function cmsBbsPostList(data) {
  return request({
    url: `${pre}/cms-information/cmsBbsPostList`,
    method: 'post',
    data
  })
}
// 论坛审核
export function bbsPostUpdateStatus(data) {
  return request({
    url: `${pre}/cms-information/bbsPostUpdateStatus`,
    method: 'post',
    data
  })
}
// 论坛详情
export function bbsPostDetail(data) {
  return request({
    url: `${pre}/cms-information/bbsPostDetail`,
    method: 'post',
    data
  })
}
// 添加文章
export function informationAdd(data) {
  return request({
    url: `${pre}/cms-information/add`,
    method: 'post',
    data
  })
}
// 添加文章
export function Zdelete(data) {
  return request({
    url: `${pre}/cms-information/delete`,
    method: 'post',
    data
  })
}
// 添加文章
export function zxupdate(data) {
  return request({
    url: `${pre}/cms-information/update`,
    method: 'post',
    data
  })
}
// 百科列表
export function wikipediaPage(data) {
  return request({
    url: `${pre}/cms-information/wikipediaPage`,
    method: 'post',
    data
  })
}
// 百科删除
export function deleteWikipedia(data) {
  return request({
    url: `${pre}/cms-information/deleteWikipedia`,
    method: 'post',
    data
  })
}
// 百科添加
export function addOrUpdate(data) {
  return request({
    url: `${pre}/cms-information/addOrUpdate`,
    method: 'post',
    data
  })
}
// 百科一级分类
export function wikipediaOneClassList(data) {
  return request({
    url: `${pre}/cms-information/wikipediaOneClassList`,
    method: 'post',
    data
  })
}
// 百科二级分类
export function wikipediaClassList(data) {
  return request({
    url: `${pre}/cms-information/wikipediaClassList`,
    method: 'post',
    data
  })
}

// 删除
export function houareaDelete(data) {
  return request({
    url: `${pre}/hou-area-price/delete`,
    method: 'post',
    data
  })
}
// 作品审核
export function zuoupdateStatus(data) {
  return request({
    url: `${pre}/uc-decorate/updateStatus`,
    method: 'post',
    data
  })
}
// 作品详情
export function detailUcWorks(data) {
  return request({
    url: `${pre}/uc-decorate/detailUcWorks/`+data,
    method: 'post',
  })
}

// 前端用户相关接口
// 经纪人列表
export function agentList(data) {
  return request({
    url: `${pre}/uc-user/agent/list`,
    method: 'post',
    data
  })
}
// 经纪人列表
export function aagentList(data) {
  return request({
    url: `${pre}/uc-user/agent/authList`,
    method: 'post',
    data
  })
}
// 作品列表
export function listUcWorks(data) {
  return request({
    url: `${pre}/uc-decorate/listUcWorks`,
    method: 'post',
    data
  })
}

// 经纪人列表
export function listMaterialsEnterprise(data) {
  return request({
    url: `${pre}/uc-decorate/listMaterialsEnterprise`,
    method: 'post',
    data
  })
}
// 经纪人新增
export function agentAdd(data) {
  return request({
    url: `${pre}/uc-user/agent/add`,
    method: 'post',
    data
  })
}
// 经纪人删除
export function agentDelete(data) {
  return request({
    url: `${pre}/uc-user/agent/delete`,
    method: 'post',
    data
  })
}
// 经纪人详情
export function agentDetail(data) {
  return request({
    url: `${pre}/uc-user/agent/detail`,
    method: 'post',
    data
  })
}
// 经纪人编辑
export function agentUpdate(data) {
  return request({
    url: `${pre}/uc-user/agent/update`,
    method: 'post',
    data
  })
}

// 经纪人修改状态
export function agentUpdateStatus(data) {
  return request({
    url: `${pre}/uc-user/agent/updateStatus`,
    method: 'post',
    data
  })
}

export function agentsUpdateStatus(data) {
  return request({
    url: `${pre}/uc-user/account/updateStatus`,
    method: 'post',
    data
  })
}
// 经纪人加金币
export function agentAddIntegral(data) {
  return request({
    url: `${pre}/uc-user/agent/addIntegral`,
    method: 'post',
    data
  })
}

// 房产公司列表
export function housePropertyList(data) {
  return request({
    url: `${pre}/uc-user/houseProperty/list`,
    method: 'post',
    data
  })
}
// 房产公司新增
export function housePropertytAdd(data) {
  return request({
    url: `${pre}/uc-user/houseProperty/add`,
    method: 'post',
    data
  })
}
// 房产公司删除
export function housePropertyDelete(data) {
  return request({
    url: `${pre}/uc-user/houseProperty/delete`,
    method: 'post',
    data
  })
}
// 房产公司详情
export function housePropertyDetail(data) {
  return request({
    url: `${pre}/uc-user/houseProperty/detail`,
    method: 'post',
    data
  })
}
// 房产公司编辑
export function housePropertyUpdate(data) {
  return request({
    url: `${pre}/uc-user/houseProperty/update`,
    method: 'post',
    data
  })
}

// 开发商列表
export function developersList(data) {
  return request({
    url: `${pre}/uc-user/developers/list`,
    method: 'post',
    data
  })
}
// 开发商新增
export function developersAdd(data) {
  return request({
    url: `${pre}/uc-user/developers/add`,
    method: 'post',
    data
  })
}
// 开发商删除
export function developersDelete(data) {
  return request({
    url: `${pre}/uc-user/developers/delete`,
    method: 'post',
    data
  })
}
// 开发商编辑
export function developersUpdate(data) {
  return request({
    url: `${pre}/uc-user/developers/update`,
    method: 'post',
    data
  })
}

// 会员列表
export function memberList(data) {
  return request({
    url: `${pre}/uc-user/member/list`,
    method: 'post',
    data
  })
}
// 会员新增
export function memberAdd(data) {
  return request({
    url: `${pre}/uc-user/member/add`,
    method: 'post',
    data
  })
}
// 会员删除
export function memberDelete(data) {
  return request({
    url: `${pre}/uc-user/member/delete`,
    method: 'post',
    data
  })
}
// 会员编辑
export function memberUpdate(data) {
  return request({
    url: `${pre}/uc-user/member/update`,
    method: 'post',
    data
  })
}
// 会员详情
export function memberDetail(data) {
  return request({
    url: `${pre}/uc-user/member/detail`,
    method: 'post',
    data
  })
}
// 会员启用
export function memberEnable(data) {
  return request({
    url: `${pre}/uc-user/member/enable`,
    method: 'post',
    data
  })
}

// 会员禁用
export function memberProhibit(data) {
  return request({
    url: `${pre}/uc-user/member/prohibit`,
    method: 'post',
    data
  })
}
// 套餐相关
// 列表
export function kitList(data) {
  return request({
    url: `${pre}/uc-set/list`,
    method: 'post',
    data
  })
}
// 新增
export function kitAdd(data) {
  return request({
    url: `${pre}/uc-set/add`,
    method: 'post',
    data
  })
}
// 删除
export function kitDelete(data) {
  return request({
    url: `${pre}/uc-set/delete`,
    method: 'post',
    data
  })
}

// 删除
export function kitUpdate(data) {
  return request({
    url: `${pre}/uc-set/update`,
    method: 'post',
    data
  })
}
// 套餐配置相关
// 列表
export function kitSetList(data) {
  return request({
    url: `${pre}/uc-set/configure/list`,
    method: 'post',
    data
  })
}
// 新增
export function kitSetAdd(data) {
  return request({
    url: `${pre}/uc-set/configure/add`,
    method: 'post',
    data
  })
}
// 删除
export function kitSetDelete(data) {
  return request({
    url: `${pre}/uc-set/configure/delete`,
    method: 'post',
    data
  })
}

// 删除
export function kitSetUpdate(data) {
  return request({
    url: `${pre}/uc-set/configure/update`,
    method: 'post',
    data
  })
}
// 售房管理
// 列表
export function sellList(data) {
  return request({
    url: `${pre}/hou-sell/list`,
    method: 'post',
    data
  })
}
// 新增
export function sellAdd(data) {
  return request({
    url: `${pre}/hou-sell/add`,
    method: 'post',
    data
  })
}
// 删除
export function sellDelete(data) {
  return request({
    url: `${pre}/hou-sell/delete`,
    method: 'post',
    data
  })
}

// 编辑
export function sellUpdate(data) {
  return request({
    url: `${pre}/hou-sell/update`,
    method: 'post',
    data
  })
}

// 详情
export function sellDetail(data) {
  return request({
    url: `${pre}/hou-sell/detail`,
    method: 'post',
    data
  })
}
// 租房管理
// 列表
export function rentList(data) {
  return request({
    url: `${pre}/hou-lease/list`,
    method: 'post',
    data
  })
}
// 新增
export function rentAdd(data) {
  return request({
    url: `${pre}/hou-lease/add`,
    method: 'post',
    data
  })
}
// 删除
export function rentDelete(data) {
  return request({
    url: `${pre}/hou-lease/delete`,
    method: 'post',
    data
  })
}

// 编辑
export function rentUpdate(data) {
  return request({
    url: `${pre}/hou-lease/update`,
    method: 'post',
    data
  })
}

// 详情
export function rentDetail(data) {
  return request({
    url: `${pre}/hou-lease/detail`,
    method: 'post',
    data
  })
}
// 小区管理
// 列表
export function residentialList(data) {
  return request({
    url: `${pre}/hou-properties/residential/list`,
    method: 'post',
    data
  })
}
// 新增
export function residentialAdd(data) {
  return request({
    url: `${pre}/hou-properties/residential/add`,
    method: 'post',
    data
  })
}
// 删除
export function residentialDelete(data) {
  return request({
    url: `${pre}/hou-properties/residential/delete`,
    method: 'post',
    data
  })
}

// 编辑
export function residentialUpdate(data) {
  return request({
    url: `${pre}/hou-properties/residential/update`,
    method: 'post',
    data
  })
}

// 户型管理
// 列表
export function apartmentList(data) {
  return request({
    url: `${pre}/hou-properties/apartment/list`,
    method: 'post',
    data
  })
}
// 新增
export function apartmentAdd(data) {
  return request({
    url: `${pre}/hou-properties/apartment/add`,
    method: 'post',
    data
  })
}
// 删除
export function apartmentDelete(data) {
  return request({
    url: `${pre}/hou-properties/apartment/delete`,
    method: 'post',
    data
  })
}

// 编辑
export function apartmentUpdate(data) {
  return request({
    url: `${pre}/hou-properties/apartment/update`,
    method: 'post',
    data
  })
}
// 楼盘管理
// 列表
export function propertiesList(data) {
  return request({
    url: `${pre}/hou-properties/list`,
    method: 'post',
    data
  })
}
// 新增
export function propertiesAdd(data) {
  return request({
    url: `${pre}/hou-properties/add`,
    method: 'post',
    data
  })
}
// 删除
export function propertiesDelete(data) {
  return request({
    url: `${pre}/hou-properties/delete`,
    method: 'post',
    data
  })
}

// 编辑
export function propertiesUpdate(data) {
  return request({
    url: `${pre}/hou-properties/update`,
    method: 'post',
    data
  })
}

// 楼盘相关资源文件管理
// 列表
export function resourcesList(data) {
  return request({
    url: `${pre}/hou-properties/resources/list`,
    method: 'post',
    data
  })
}
// 新增
export function resourcesAdd(data) {
  return request({
    url: `${pre}/hou-properties/resources/add`,
    method: 'post',
    data
  })
}
// 删除
export function resourcesDelete(data) {
  return request({
    url: `${pre}/hou-properties/resources/delete`,
    method: 'post',
    data
  })
}

// 预售证相关
// 列表
export function permitList(data) {
  return request({
    url: `${pre}/hou-properties/permit/list`,
    method: 'post',
    data
  })
}
// 新增
export function permitAdd(data) {
  return request({
    url: `${pre}/hou-properties/permit/add`,
    method: 'post',
    data
  })
}
// 编辑
export function permitUpdate(data) {
  return request({
    url: `${pre}/hou-properties/permit/update`,
    method: 'post',
    data
  })
}
// 删除
export function permitDelete(data) {
  return request({
    url: `${pre}/hou-properties/permit/delete`,
    method: 'post',
    data
  })
}
// 均价走势相关
// 列表
export function priceList(data) {
  return request({
    url: `${pre}/hou-properties/price/list`,
    method: 'post',
    data
  })
}
// 新增
export function priceAdd(data) {
  return request({
    url: `${pre}/hou-properties/price/add`,
    method: 'post',
    data
  })
}
// 编辑
export function priceUpdate(data) {
  return request({
    url: `${pre}/hou-properties/price/update`,
    method: 'post',
    data
  })
}
// 删除
export function priceDelete(data) {
  return request({
    url: `${pre}/hou-properties/price/delete`,
    method: 'post',
    data
  })
}
